package com.smiier.skin.net;

import java.util.ArrayList;

import android.content.Context;
import cn.o.app.io.INoProguard;
import cn.o.app.json.JsonDate;
import cn.o.app.net.NetTask;

import com.smiier.skin.net.TreatmentProjectCommentsListTask.TreatmentProjectCommentsListRequest;
import com.smiier.skin.net.TreatmentProjectCommentsListTask.TreatmentProjectCommentsListResponse;
import com.smiier.skin.util.GlobalSettings;

/*
 * 治疗项目医生评价列表
 */
public class TreatmentProjectCommentsListTask
		extends
		NetTask<TreatmentProjectCommentsListRequest, TreatmentProjectCommentsListResponse> {
	public static class TreatmentProjectCommentsListRequest extends ORequest {
		public String treatmentprojectid;
	}

	public static class TreatmentProjectCommentsListResponse extends
			ArrayList<TreatmentProjectCommentsItem> implements INoProguard {

	}

	public static class TreatmentProjectCommentsItem implements INoProguard {

		public int id;
		public String treatmentprojectid;
		public String username;
		public int age;
		public String sex;
		public String mobile;
		public JsonDate booktime;
		public Long flowstep;
		public String status;
		public Long doctor_id;
		public String comments;
		public Integer commentslevel;
		public JsonDate commentstime;
		public JsonDate ctime;
		public int cuser;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL_TREATMENT
				+ "Client/TreatmentProject/projectCommentsList";
		mRequestMethod = METHOD_POST;
	}

}
